GtkStyle: transform window background detail string.
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 8 Nov 2010 01:30:39 +0000 (02:30 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:44 +0000 (15:38 +0100)
gtk/gtkstyle.c

index b760fea4401e7c647e4de7f181534296d95bfad7..9acc49c82b625bd818f6c601a6d98499509a245c 100644 (file)
@@ -1790,6 +1790,8 @@ transform_detail_string (const gchar     *detail,
     gtk_style_context_add_class (context, "accelerator");
   else if (strcmp (detail, "menubar") == 0)
     gtk_style_context_add_class (context, "menubar");
+  else if (strcmp (detail, "base") == 0)
+    gtk_style_context_add_class (context, "background");
   else if (g_str_has_prefix (detail, "cell"))
     {
       GtkRegionFlags row, col;